package com.ruoyi.bizsys.domain;

import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行政区域对象 area_code
 *
 * @author african-loan
 * @date 2021-12-30
 */

@Data
public class AreaCode extends BaseEntity
        {
private static final long serialVersionUID=1L;


    /** id */
    
            @Excel(name = "${comment}" , readConverterExp = "id")
                @TableId(type = IdType.AUTO)
        private Long id;


    /** 名称  */
                        
            @Excel(name = "名称 ")
                private String name;


    /** 等级1. State 2. LGA 3. City 4. Address */
                        
            @Excel(name = "等级1. State 2. LGA 3. City 4. Address")
                private String level;


    /** 父级id */
                        
            @Excel(name = "父级id")
                private Long parentId;


    /** 状态 */
                        
            @Excel(name = "状态")
                private String state;


    /** 创建者 */
    
            @Excel(name = "状态")
                private String createBy;


    /** 创建时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "状态" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date createTime;


    /** 更新者 */
    
            @Excel(name = "状态")
                private String updateBy;


    /** 更新时间 */
    
            @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "状态" , width = 30, dateFormat = "yyyy-MM-dd")
                private Date updateTime;


    /** 备注 */
                        
            @Excel(name = "备注")
                private String remark;

                                                                                                                                                    }